package xmlpreprocessed;

import javax.xml.ws.ServiceMode;

import org.simpleframework.xml.Attribute;
import org.simpleframework.xml.Element;

public class Node {
	
	@Attribute
	private String id;
	
	@Element(required=false)
	private String word;
	@Element(required = false)
	private String lemma;

	@Element(name="pos-tag")
	private String posTag;

    //@Element(required = false)
	//private String relation;
	
	@Element(required=false)
	private Relation relation;

    @Element(required=false)
	private String antecedent;

    public String getPosTag() {
        return posTag;
    }

	public String getWord() {
		return word;
	}
	public String getLemma() {
		return lemma;
	}
	
	public Relation getRelation() {
		return relation;
	}
	
	public String getId () {
		return id;
	}
	
	
}
